﻿using M.AuditField;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace M.ShopMachine.Domain
{
    /// <summary>
    /// 巡检信息表
    /// </summary>
    [Table("Patrol")]
    public class Patrol: AuditFields
    {
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 巡检编号
        /// </summary>
        public string? PatrolNumber { get; set; }
        /// <summary>
        /// 巡检项
        /// </summary>
        public string? PatrolProject {  get; set; }
        /// <summary>
        /// 巡检标准
        /// </summary>
        public string? PatrolStandard {  get; set; }
        /// <summary>
        /// 巡检日期
        /// </summary>
        public DateTime? PatrolDate {  get; set; }
        /// <summary>
        /// 巡检状态
        /// </summary>
        public string? PatrolState {  get; set; }
        /// <summary>
        /// 图片
        /// </summary>
        public string? Picture {  get; set; }
        /// <summary>
        /// 机床id(外键)
        /// </summary>
        public int? DeviceId {  get; set; }
    }
}
